3.4.54 \(\int \frac {(a+a \sin (e+f x))^{3/2}}{(c-c \sin (e+f x))^{5/2}} \, dx\) [354]

Optimal. Leaf size=42 \[ \frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{4 f (c-c \sin (e+f x))^{5/2}} \]

[Out]

1/4*cos(f*x+e)*(a+a*sin(f*x+e))^(3/2)/f/(c-c*sin(f*x+e))^(5/2)

________________________________________________________________________________________

Rubi [A]
time = 0.07, antiderivative size = 42, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 30, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.033, Rules used = {2821} \begin {gather*} \frac {\cos (e+f x) (a \sin (e+f x)+a)^{3/2}}{4 f (c-c \sin (e+f x))^{5/2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + a*Sin[e + f*x])^(3/2)/(c - c*Sin[e + f*x])^(5/2),x]

[Out]

(Cos[e + f*x]*(a + a*Sin[e + f*x])^(3/2))/(4*f*(c - c*Sin[e + f*x])^(5/2))

Rule 2821

Int[((a_) + (b_.)*sin[(e_.) + (f_.)*(x_)])^(m_)*((c_) + (d_.)*sin[(e_.) + (f_.)*(x_)])^(n_), x_Symbol] :> Simp
[b*Cos[e + f*x]*(a + b*Sin[e + f*x])^m*((c + d*Sin[e + f*x])^n/(a*f*(2*m + 1))), x] /; FreeQ[{a, b, c, d, e, f
, m, n}, x] && EqQ[b*c + a*d, 0] && EqQ[a^2 - b^2, 0] && EqQ[m + n + 1, 0] && NeQ[m, -2^(-1)]

Rubi steps

\begin {align*} \int \frac {(a+a \sin (e+f x))^{3/2}}{(c-c \sin (e+f x))^{5/2}} \, dx &=\frac {\cos (e+f x) (a+a \sin (e+f x))^{3/2}}{4 f (c-c \sin (e+f x))^{5/2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(99\) vs. \(2(42)=84\).
time = 0.29, size = 99, normalized size = 2.36 \begin {gather*} \frac {a \left (\cos \left (\frac {1}{2} (e+f x)\right )-\sin \left (\frac {1}{2} (e+f x)\right )\right ) \sin (e+f x) \sqrt {a (1+\sin (e+f x))}}{c^2 f \left (\cos \left (\frac {1}{2} (e+f x)\right )+\sin \left (\frac {1}{2} (e+f x)\right )\right ) (-1+\sin (e+f x))^2 \sqrt {c-c \sin (e+f x)}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + a*Sin[e + f*x])^(3/2)/(c - c*Sin[e + f*x])^(5/2),x]

[Out]

(a*(Cos[(e + f*x)/2] - Sin[(e + f*x)/2])*Sin[e + f*x]*Sqrt[a*(1 + Sin[e + f*x])])/(c^2*f*(Cos[(e + f*x)/2] + S
in[(e + f*x)/2])*(-1 + Sin[e + f*x])^2*Sqrt[c - c*Sin[e + f*x]])

________________________________________________________________________________________

Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(89\) vs. \(2(36)=72\).
time = 9.81, size = 90, normalized size = 2.14

method result size
default \(-\frac {\left (-1+\cos \left (f x +e \right )+\sin \left (f x +e \right )\right ) \left (a \left (1+\sin \left (f x +e \right )\right )\right )^{\frac {3}{2}} \sin \left (f x +e \right )}{f \left (-c \left (\sin \left (f x +e \right )-1\right )\right )^{\frac {5}{2}} \left (\cos ^{2}\left (f x +e \right )+\cos \left (f x +e \right ) \sin \left (f x +e \right )+\cos \left (f x +e \right )-2 \sin \left (f x +e \right )-2\right )}\) \(90\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+a*sin(f*x+e))^(3/2)/(c-c*sin(f*x+e))^(5/2),x,method=_RETURNVERBOSE)

[Out]

-1/f*(-1+cos(f*x+e)+sin(f*x+e))*(a*(1+sin(f*x+e)))^(3/2)*sin(f*x+e)/(-c*(sin(f*x+e)-1))^(5/2)/(cos(f*x+e)^2+co
s(f*x+e)*sin(f*x+e)+cos(f*x+e)-2*sin(f*x+e)-2)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(3/2)/(c-c*sin(f*x+e))^(5/2),x, algorithm="maxima")

[Out]

integrate((a*sin(f*x + e) + a)^(3/2)/(-c*sin(f*x + e) + c)^(5/2), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 87 vs. \(2 (39) = 78\).
time = 0.33, size = 87, normalized size = 2.07 \begin {gather*} -\frac {\sqrt {a \sin \left (f x + e\right ) + a} \sqrt {-c \sin \left (f x + e\right ) + c} a \sin \left (f x + e\right )}{c^{3} f \cos \left (f x + e\right )^{3} + 2 \, c^{3} f \cos \left (f x + e\right ) \sin \left (f x + e\right ) - 2 \, c^{3} f \cos \left (f x + e\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(3/2)/(c-c*sin(f*x+e))^(5/2),x, algorithm="fricas")

[Out]

-sqrt(a*sin(f*x + e) + a)*sqrt(-c*sin(f*x + e) + c)*a*sin(f*x + e)/(c^3*f*cos(f*x + e)^3 + 2*c^3*f*cos(f*x + e
)*sin(f*x + e) - 2*c^3*f*cos(f*x + e))

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a \left (\sin {\left (e + f x \right )} + 1\right )\right )^{\frac {3}{2}}}{\left (- c \left (\sin {\left (e + f x \right )} - 1\right )\right )^{\frac {5}{2}}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))**(3/2)/(c-c*sin(f*x+e))**(5/2),x)

[Out]

Integral((a*(sin(e + f*x) + 1))**(3/2)/(-c*(sin(e + f*x) - 1))**(5/2), x)

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 98 vs. \(2 (39) = 78\).
time = 0.50, size = 98, normalized size = 2.33 \begin {gather*} \frac {{\left (2 \, a \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{2} - a \sqrt {c} \mathrm {sgn}\left (\cos \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right )\right )} \sqrt {a}}{4 \, c^{3} f \mathrm {sgn}\left (\sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )\right ) \sin \left (-\frac {1}{4} \, \pi + \frac {1}{2} \, f x + \frac {1}{2} \, e\right )^{4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+a*sin(f*x+e))^(3/2)/(c-c*sin(f*x+e))^(5/2),x, algorithm="giac")

[Out]

1/4*(2*a*sqrt(c)*sgn(cos(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^2 - a*sqrt(c)*sgn(cos(-1/4
*pi + 1/2*f*x + 1/2*e)))*sqrt(a)/(c^3*f*sgn(sin(-1/4*pi + 1/2*f*x + 1/2*e))*sin(-1/4*pi + 1/2*f*x + 1/2*e)^4)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.02 \begin {gather*} \int \frac {{\left (a+a\,\sin \left (e+f\,x\right )\right )}^{3/2}}{{\left (c-c\,\sin \left (e+f\,x\right )\right )}^{5/2}} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + a*sin(e + f*x))^(3/2)/(c - c*sin(e + f*x))^(5/2),x)

[Out]

int((a + a*sin(e + f*x))^(3/2)/(c - c*sin(e + f*x))^(5/2), x)

________________________________________________________________________________________